<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<#include "/views/ftl/base/manager_include.ftl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用餐座位</title>
<style>
A{
color: #333;
}

</style>
<script type="text/javascript">
$(function(){
	$("#search_button").click(function(){
		$('#select_form').submit();
    });
});

</script>
</head>
<body style="background:#eef3f7;">
<#include "/views/ftl/base/head.ftl">
<div class="Main">
  <div class="dw">
<#include "/views/ftl/base/menu.ftl">
<#function a><#return "用餐位置列表_List"></#function>
<!--右边内容-->
<div class="Rightbox fl">
    <!--导航-->
    <div class="Bread_crbs clear">
      <div class="Bread_crbs_img fl"></div>
      <div class="Bread_crbs_text fl">
      	<a href="javascript:void(0);"><span>用餐座位</span></a>
      	<span class="fnt_famy">></span>
      	<a href="javascript:void(0);"><span>用餐座位列表</span></a>
      </div>
    </div>
    	
      <!--搜索框-->
        <form action="${basePath}manager/MealLocation_mealLocationListPage" id="select_form"  method="GET">
         <div class="searchBox fl">
        	<span class=" searchTitle">名称:</span>
          	    <input class="search_text" type="text" name="brandName" placeholder="请输入关键字 " value="${(requestVo.brandName)!''}"/>
          	
            </div> 
            <a href="javascript:void(0);" id="search_button" class="search_btn fl" align="center"><span >搜索</span></a>
        </form>

        
       <!-- brandId,goodsNumber,goodsName,goodsCategoryId,totalStockCount,applySex,tagPrice,retailPrice,season,unit,-->
        <div class="clear"></div>
        <!--表格列表-->
        <div class="Table">
          <table id="table" cellpadding="0" cellspacing="1">
            <tbody>
              <tr id="gl">
             <td>位置名称</td>
             <td>位置类型</td>
             <td>状态</td>
              <td>操作</td>
             </tr>
            <#if (pager.list??)> 
           <#if ((pager.list?size)>0)>
           <#list pager.list as bean>
     		<tr>
              <td>${(bean.locationName)!''}</td>
               <td>
                <#list   mealLocationTypeEnum as enum>
                   <#if enum.type == bean.locationType >${enum.typeName}</#if>
               </#list>
               </td>
                <td>
                    <#list mealLocationStatusTypeEnum as enum>
                    <#if enum.type == bean.locationStatus >${enum.typeName}</#if>
                </#list>
                </td>
                <td class="tbl_btn">
                     <a class="yg-btn yg-btn-primary" href="${basePath}manager/MealLocation_mealLocationInfo?mealLocationId=${(bean.id)?c}"><span  >停用</span></a>
                     <a class="yg-btn yg-btn-primary" href="${basePath}manager/MealLocation_mealLocationInfo?mealLocationId=${(bean.id)?c}"><span  >删除</span></a>
                </td>
              </tr>
  			</#list>
          </#if>
          </#if>
            </tbody>
          </table>
        </div>
    <!--翻页按钮-->
  	<#import "../../base/pager.ftl" as p>
   	<@p.pager pager = pager baseUrl = "manager/MealLocation_mealLocationListPage" parameterMap={"brandName":(brandName)!''} />
</div>
 
</body>
</html>

